﻿/*******************************************************************************
 
 * Author: Dealin
 
 
*********************************************************************************/
using Dealin.Application.ReportManage;
using Dealin.Application.SystemManage;
using Dealin.Code;
using Dealin.Domain.Entity.SystemManage;
using System.Collections.Generic;
using System.Text;
using System.Web.Mvc;

namespace Dealin.Web.Controllers
{
    [HandlerLogin]
    public class HomeController : Controller
    {
        DefaultApp app = new DefaultApp();
        [HttpGet]
        public ActionResult Index()
        {

            return View();
        }
        [HttpGet]
        public ActionResult Default()
        {
            return View(); 
        }

        public string GetDefaultData()
        {
            string orgId = OperatorProvider.Provider.GetCurrent().CompanyId;
            var json = app.GetDefaultJson(orgId);
            return json;
        }
        [HttpGet]
        public ActionResult About()
        {
            return View();
        }


       


    }
}
